tests and analyze the results